package com.renrenyou.duanshipin.util;

import android.content.Context;
import android.widget.Toast;

public class ToastUtil {

    public static void showToast(Context context, String toast) {
        if (context == null) {
            return;
        }
        Toast.makeText(context.getApplicationContext(), toast, Toast.LENGTH_SHORT).show();
    }
}
